package com.hjxr.quota.datasource.service.impl;

import com.hjxr.quota.datasource.domain.QuotaDimensionDetail;
import com.hjxr.quota.datasource.domain.vo.DimensionVo;
import com.hjxr.quota.datasource.mapper.QuotaDimensionDetailMapper;
import com.hjxr.quota.datasource.service.IQuotaDimensionDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 维度编码详细服务实现类
 * </p>
 *
 * @author sun
 * @since 2020-09-17
 */
@Service("quotaDimensionDetailService")
@Transactional(readOnly = true)
public class QuotaDimensionDetailServiceImpl extends ServiceImpl<QuotaDimensionDetailMapper, QuotaDimensionDetail> implements IQuotaDimensionDetailService {
  @Resource
  private QuotaDimensionDetailMapper quotaDimensionDetailMapper;

  @Override
  public List<DimensionVo> selectDimensionDetail(DimensionVo vo) {
    return quotaDimensionDetailMapper.selectDimensionDetail(vo);
  }

  @Override
  public List<DimensionVo> selectColumnDimenstionDetail(DimensionVo vo) {
    return quotaDimensionDetailMapper.selectColumnDimenstionDetail(vo);
  }
}
